<html><head><title>MapKey</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">MapKey()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Key$ = <font color="#006666"><b>MapKey</b></font>(Map())</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Returns the key of the current map element. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Map()</i></td>
<td width="90%"> 
The map to use. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns the key of the current element. 
If there is no current element, an empty string is returned. 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#006666">NewMap</font></b> <font color="#006666">Country</font>.s()

<font color="#006666">  Country</font>("US") = "United States"
<font color="#006666">  Country</font>("FR") = "France"
<font color="#006666">  Country</font>("GE") = "Germany"

  <b><font color="#006666">ForEach</font></b> <font color="#006666">Country</font>()
    <b><font color="#006666">Debug</font></b> <font color="#006666">MapKey</font>(<font color="#006666">Country</font>())
  <b><font color="#006666">Next</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="resetmap.html">ResetMap()</a>, <a href="nextmapelement.html">NextMapElement()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=freemap.html>FreeMap()</a> - <a href=index.html>Map Index</a> - <a href=mapsize.html>MapSize()</a> ->

</body></html>